import authRequest from 'supports/requests/authRequest'
import normalRequest from "supports/requests/normalRequest"

export function getLastPendingBonus() {
  return normalRequest('pending/bonuses/last')
}

export function checkMyPendingBonus() {
  return authRequest('pending/bonuses/pending')
}

export function takeMyPendingBonus(id) {
  return authRequest('bonus/records/' + id + '/take')
}


export function getPendingBonusSamples(data) {
  return authRequest('bonus/records/takens', { data: data })
}

export function bonusCheckingBeforeTaking() {
  return authRequest('bonus/records/pending')
}


